package priv.work;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class Villa {
	@Autowired
	private Servant servant;

	public Servant getServant() {
		return servant;
	}

	public void setServant(Servant servant) {
		this.servant = servant;
	}

	@Override
	public String toString() {
		return "Villa [servant=" + servant + "]";
	}

	public Villa() {
		
	}
}
